#ifndef _MT5_CHAR_ANIMATION_H_
#define _MT5_CHAR_ANIMATION_H_

#include "bones/biped_instance.h"
#include "input/keyboard.h"

class MATCharAnimation
{
public:

	enum	ANIMATION_TYPE
	{
		ANIMATION_IDLE,
		ANIMATION_LAUGH,
		ANIMATION_SURPRISE,

		ANIMATION_C,
	};

	static MATCharAnimation&	Instance();

	
	
	void						Render();
	void						Tick(float dt);
	void						KeyPressed(input::Keyboard::KEY* pKey);

	void						SetAnimation(ANIMATION_TYPE Type);


protected:
	
	MATCharAnimation();
	bones::BipedInstance		m_BipedChar;

	ANIMATION_TYPE				m_CurrentAnimation;
	int							m_LoopCount;

};

#endif